<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <!-- 轮播图 -->
    <jsp:include page="include/meta.jsp">
        <jsp:param name="pageTitle" value="登陆"/>
    </jsp:include>
    <script type="text/javascript" src="${base}/js/login.js"></script>
</head>

<body>

<div id="wrapper">
    <jsp:include page="include/head.jsp">
        <jsp:param name="menuIdx" value="0"/>
    </jsp:include>

    <!-- 内容区域 -->
    <div class="register_container">
        <div class="login_container">
            <div class="login_main">
                <h3>登录</h3><br/>
                <form id="loginForm" name="loginForm" action="${base}/login" method="post">
                    <div style="margin-bottom:15px;">
                        <label for="mobile">手机号码</label>
                        <input type="text" name="mobile" id="mobile" placeholder="请输入注册手机号码" class="login_input"/>
                    </div>
                    <div style="margin-bottom:15px;">
                        <label for="password">登录密码</label>
                        <input type="password" name="password" id="password" placeholder="请输入登录密码" class="login_input"/>
                    </div>
                    <div style="margin-bottom:15px;">
                        <label for="code">验证码</label>
                        <input type="text" name="code" id="code" style="width:142px;" class="login_codeinput"/>
                        <a href="#"><img src="${base}/code" id="randomCode" title="点击刷新验证码" style="margin-left:8px;" onclick="reloadRandomCode('${base}','randomCode')"/></a>
                    </div>
                    <input type="button" name="loginBtn" id="loginBtn" value="登录" class="register_submit"
                           style=" margin-bottom:10px;"/>
                </form>
                <p>
                    没有账号 立即<a href="${base}/toRegister">注册</a>
                </p>
            </div>
        </div>

    </div>
    <!-- 内容区域结束 -->
    <jsp:include page="include/foot.jsp"/>


</div>


</body>
</html>
